Release 10.1A: OpenEdge Getting Started:
Progress OpenEdge Studio


SmartDataField module

The SmartDataField (SDF) gives you a method to customize how particular pieces of data are displayed. You might use the SDF as a calculator to update an integer field, or as an editor with cut, copy, and paste buttons to update a character field. In this module, a SDF displays a date field as a calendar. Choosing a new date in the calendar changes the value in the field.

To launch this module, choose the SmartDataField button on the SportsPro main window. The Order Update dialog box appears:

SDFs work with SDVs. You create a master for the SDF that you want to use. Then you drop an instance of it onto an appropriate field in a SDV to create the necessary links.

Table 2–8 describes the major objects used in the SmartDataField module.

Table 2–8: Components of the SmartDataField module
Object or filename
Object type
Function
wordupd.w
SmartWindow
Serves as a container for the other objects in the module.
dorder
SDO
Queries the Order table to retrieve all order records.
vorder2
SDV
Displays the contents of several fields of the selected order record.
sdfcal
SDF
Displays the value of the OrderDate, PromiseDate, and ShipDate fields in the selected record. The SDFs also provide a more convenient method for changing the values than a standard fill-in field.
pnavico
SmartPanel
(navigation)
Controls navigation for the result set from dorder.
pupdsav
SmartPanel
(update)
Controls record update functions on the result set from dorder.

For more information on SDFs, see the chapter on SmartObjects in the OpenEdge Development: ADM and SmartObjects .


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095